package com.gitee.ywj1352.proxy.staticProxy;

/**
 * Created by wenjie.yang on 3/25/2019.
 */
public class PersonProxy {

  private Person person;

  public PersonProxy (Person person){
    this.person = person;
  }

  /**
   * 代理方法
   */
  public void proxyDo(){
    System.out.println("代理加强");
    person.doSomething();
  }


}
